package com.santu.edu.supporter.biz.school.service;

import com.santu.edu.supporter.biz.school.pojo.dto.SchoolDTO;

import java.util.List;

/**
 * @author luoyaoqi
 * @createTime 2024/2/21
 * @description
 */
public interface SchoolService {

    /**
     * 添加学校
     * @param schoolName
     * @return
     */
    Boolean addSchool(String schoolName);

    /**
     * 根据学校名称获取学校id
     * @param schoolName
     * @return
     */
    List<SchoolDTO> getSchoolIdByName(String schoolName);

    /**
     * 根据学校id获取学校
     * @param schoolId
     * @return
     */
    SchoolDTO getSchoolById(String schoolId);
}
